package cyou.breathe.blog.article.infrastructure.exception;

import cyou.breathe.blog.base.exception.ErrorCode;

/**
 * @author: breathe
 * @createTime: 2025-09-04
 */
public enum ArticleTagErrorCode implements ErrorCode {
    ARTICLE_TAG_IS_EXIST("ARTICLE_TAG_IS_EXIST", "文章标签已存在"),
    ARTICLE_TAG_NOT_EXIST("ARTICLE_TAG_NOT_EXIST", "文章标签不存在"),
    ;

    private String code;
    private String message;

    ArticleTagErrorCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getMessage() {
        return this.message;
    }
}
